<template>
  <div class="order-main">
    <!-- 头部 -->
    <div class="order-header">
      <div class="order-container">
        <div class="con-left">
          <span class="con-choose">我的唯品会</span>
          <span>安全中心</span>
        </div>
        <div class="con-right">
          <span>我的特卖</span>
          <!-- <div>|</div> -->
          <span class="con-h">首页</span>
        </div>
      </div>
    </div>
    <div class="container">
      <div class="order-body">
        <!-- 面包屑导航 -->
        <!-- <div class="bread">
          <ul class="fl sui-breadcrumb">
            <li>
              <div class="with-x"></div>
              <a href="#">我的唯品会</a>
              <i>></i>
            </li>
          </ul>
        </div> -->
        <!--左侧列表-->
        <div class="order-left">
          <dl>
            <dt><i class="el-icon-circle-plus-outline"></i> 我的交易</dt>
            <dd>
              <router-link to="/myorder/orderdetail">订单管理</router-link>
            </dd>
            <dd>
              <router-link to="/center/grouporder">退换/售后</router-link>
              <!-- <div>退换/售后</div> -->
            </dd>
            <dd>收货地址</dd>
            <dd>专票抬头</dd>
          </dl>
          <dl>
            <dt><i class="el-icon-circle-plus-outline"></i> 我的资产</dt>
            <dd>零钱</dd>
            <dd>唯品金融</dd>
            <dd>银行卡</dd>
            <dd>唯品卡</dd>
            <dd>优惠券</dd>
            <dd>唯品币</dd>
          </dl>
          <dl>
            <dt><i class="el-icon-circle-plus-outline"></i>我的账户</dt>
            <dd>我的资料</dd>
          </dl>
        </div>
        <!-- 右侧内容 -->
        <router-view></router-view>
      </div>
    </div>
  </div>
</template>

<script>
export default {
  name: "MyOrder",
};
</script>

<style lang="less" scoped>
.order-main {
  background: url("https://member.vipstatic.com/img/myi/user/layout-bg.png?ceff33b9")
    no-repeat 0px 0px;
  .order-header {
    height: 40px;
    background-color: #f10180;
    .order-container {
      width: 1200px;
      margin: 0 auto;
      height: 40px;
      // border: 1px solid #333;
      .con-left {
        color: white;
        padding: 0 20px;
        line-height: 40px;
        cursor: default;
        font-weight: 700;
        font-size: 16px;
        white-space: nowrap;
        span {
          display: block;
          float: left;
          text-align: center;
          width: 100px;
          height: 40px;
          // border: 1px solid #333;
          // margin-right: 20px;
        }
        .con-choose {
          background-color: #bd1067 !important;
        }
      }
      .con-right {
        color: white;
        padding: 0 20px;
        line-height: 40px;
        cursor: default;
        font-weight: 700;
        font-size: 16px;
        white-space: nowrap;
        span {
          display: block;
          float: right;
          text-align: center;
          // line-height: 30px;
          width: 80px;
          height: 30px;
          // border: 1px solid #333;
          // margin-right: 20px;
        }
        .con-h {
          margin-top: 10px;
          width: 50px;
          height: 20px;
          line-height: 20px;
          border-right: 2px solid #bd1067;
          // margin-top: 10px;
          // text-align: center;
        }
      }
    }
  }
  .container {
    margin: 0 auto;
    width: 1200px;

    .order-body {
      padding: 20px;
      color: #333;

      &:after {
        content: "";
        display: block;
        clear: both;
      }
      //左边
      .order-left {
        float: left;
        // width: 16.67%;
        width: 10.67%;
        // border: 1px solid #666;
        background-color: white;
        // margin-top: -10px;
        dd {
          .order-dl dd {
            // background-color: #bd1067;

            // color: #bd1067;
            display: block;
          }
          a {
            &:hover {
              color: #bd1067;
            }
          }
          &:hover {
            color: #bd1067;
          }
        }
        /deep/.el-icon-circle-plus-outline {
          border-radius: 10%;
          color: #333;
        }
        // .order_dl {
        //   color: #bd1067;
        // }
        dl {
          line-height: 28px;

          dt {
            font-weight: 700;
            padding: 5px;
            font-size: 16px;

            i {
              color: #77b72c;
            }
          }

          dd {
            margin: 0 0 6px;
            border-bottom: 1px solid #ededed;
            text-align: center;
          }
        }
      }
    }
  }
}
</style>
